package demo4;

public class Test5 {
    public  void main(String[] args) {
        String a = "abc" ;
        String b = "ab" ;
        if(this.<String>bj(a, b) > 0){
            System.out.println("a 大");
        }else{
            System.out.println("b 大" );
        }

    }
    public   <T extends Comparable<T>> int bj(T a  , T b){
        return a.compareTo(b) ;
    }

}
class A<T extends Comparable<T>>{


}
